Optimal. Leaf size=53 \[ -\frac {A \left (a+b x^2\right )^{5/2}}{7 a x^7}+\frac {(2 A b-7 a B) \left (a+b x^2\right )^{5/2}}{35 a^2 x^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {464, 270}
\begin {gather*} \frac {\left (a+b x^2\right )^{5/2} (2 A b-7 a B)}{35 a^2 x^5}-\frac {A \left (a+b x^2\right )^{5/2}}{7 a x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rule 464
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^{3/2} \left (A+B x^2\right )}{x^8} \, dx &=-\frac {A \left (a+b x^2\right )^{5/2}}{7 a x^7}-\frac {(2 A b-7 a B) \int \frac {\left (a+b x^2\right )^{3/2}}{x^6} \, dx}{7 a}\\ &=-\frac {A \left (a+b x^2\right )^{5/2}}{7 a x^7}+\frac {(2 A b-7 a B) \left (a+b x^2\right )^{5/2}}{35 a^2 x^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 40, normalized size = 0.75 \begin {gather*} \frac {\left (a+b x^2\right )^{5/2} \left (-5 a A+2 A b x^2-7 a B x^2\right )}{35 a^2 x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 58, normalized size = 1.09
method | result | size |
gosper | \(-\frac {\left (b \,x^{2}+a \right )^{\frac {5}{2}} \left (-2 A b \,x^{2}+7 B a \,x^{2}+5 A a \right )}{35 x^{7} a^{2}}\) | \(37\) |
default | \(-\frac {B \left (b \,x^{2}+a \right )^{\frac {5}{2}}}{5 a \,x^{5}}+A \left (-\frac {\left (b \,x^{2}+a \right )^{\frac {5}{2}}}{7 a \,x^{7}}+\frac {2 b \left (b \,x^{2}+a \right )^{\frac {5}{2}}}{35 a^{2} x^{5}}\right )\) | \(58\) |
trager | \(-\frac {\left (-2 x^{6} A \,b^{3}+7 x^{6} B a \,b^{2}+A a \,b^{2} x^{4}+14 x^{4} B \,a^{2} b +8 x^{2} A \,a^{2} b +7 B \,a^{3} x^{2}+5 A \,a^{3}\right ) \sqrt {b \,x^{2}+a}}{35 x^{7} a^{2}}\) | \(82\) |
risch | \(-\frac {\left (-2 x^{6} A \,b^{3}+7 x^{6} B a \,b^{2}+A a \,b^{2} x^{4}+14 x^{4} B \,a^{2} b +8 x^{2} A \,a^{2} b +7 B \,a^{3} x^{2}+5 A \,a^{3}\right ) \sqrt {b \,x^{2}+a}}{35 x^{7} a^{2}}\) | \(82\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 56, normalized size = 1.06 \begin {gather*} -\frac {{\left (b x^{2} + a\right )}^{\frac {5}{2}} B}{5 \, a x^{5}} + \frac {2 \, {\left (b x^{2} + a\right )}^{\frac {5}{2}} A b}{35 \, a^{2} x^{5}} - \frac {{\left (b x^{2} + a\right )}^{\frac {5}{2}} A}{7 \, a x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.20, size = 78, normalized size = 1.47 \begin {gather*} -\frac {{\left ({\left (7 \, B a b^{2} - 2 \, A b^{3}\right )} x^{6} + {\left (14 \, B a^{2} b + A a b^{2}\right )} x^{4} + 5 \, A a^{3} + {\left (7 \, B a^{3} + 8 \, A a^{2} b\right )} x^{2}\right )} \sqrt {b x^{2} + a}}{35 \, a^{2} x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 518 vs.
\(2 (46) = 92\).
time = 2.75, size = 518, normalized size = 9.77 \begin {gather*} - \frac {15 A a^{6} b^{\frac {9}{2}} \sqrt {\frac {a}{b x^{2}} + 1}}{105 a^{5} b^{4} x^{6} + 210 a^{4} b^{5} x^{8} + 105 a^{3} b^{6} x^{10}} - \frac {33 A a^{5} b^{\frac {11}{2}} x^{2} \sqrt {\frac {a}{b x^{2}} + 1}}{105 a^{5} b^{4} x^{6} + 210 a^{4} b^{5} x^{8} + 105 a^{3} b^{6} x^{10}} - \frac {17 A a^{4} b^{\frac {13}{2}} x^{4} \sqrt {\frac {a}{b x^{2}} + 1}}{105 a^{5} b^{4} x^{6} + 210 a^{4} b^{5} x^{8} + 105 a^{3} b^{6} x^{10}} - \frac {3 A a^{3} b^{\frac {15}{2}} x^{6} \sqrt {\frac {a}{b x^{2}} + 1}}{105 a^{5} b^{4} x^{6} + 210 a^{4} b^{5} x^{8} + 105 a^{3} b^{6} x^{10}} - \frac {12 A a^{2} b^{\frac {17}{2}} x^{8} \sqrt {\frac {a}{b x^{2}} + 1}}{105 a^{5} b^{4} x^{6} + 210 a^{4} b^{5} x^{8} + 105 a^{3} b^{6} x^{10}} - \frac {8 A a b^{\frac {19}{2}} x^{10} \sqrt {\frac {a}{b x^{2}} + 1}}{105 a^{5} b^{4} x^{6} + 210 a^{4} b^{5} x^{8} + 105 a^{3} b^{6} x^{10}} - \frac {A b^{\frac {3}{2}} \sqrt {\frac {a}{b x^{2}} + 1}}{5 x^{4}} - \frac {A b^{\frac {5}{2}} \sqrt {\frac {a}{b x^{2}} + 1}}{15 a x^{2}} + \frac {2 A b^{\frac {7}{2}} \sqrt {\frac {a}{b x^{2}} + 1}}{15 a^{2}} - \frac {B a \sqrt {b} \sqrt {\frac {a}{b x^{2}} + 1}}{5 x^{4}} - \frac {2 B b^{\frac {3}{2}} \sqrt {\frac {a}{b x^{2}} + 1}}{5 x^{2}} - \frac {B b^{\frac {5}{2}} \sqrt {\frac {a}{b x^{2}} + 1}}{5 a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 344 vs.
\(2 (45) = 90\).
time = 3.26, size = 344, normalized size = 6.49 \begin {gather*} \frac {2 \, {\left (35 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{12} B b^{\frac {5}{2}} - 70 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{10} B a b^{\frac {5}{2}} + 70 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{10} A b^{\frac {7}{2}} + 105 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{8} B a^{2} b^{\frac {5}{2}} + 70 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{8} A a b^{\frac {7}{2}} - 140 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{6} B a^{3} b^{\frac {5}{2}} + 140 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{6} A a^{2} b^{\frac {7}{2}} + 77 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} B a^{4} b^{\frac {5}{2}} + 28 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} A a^{3} b^{\frac {7}{2}} - 14 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} B a^{5} b^{\frac {5}{2}} + 14 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} A a^{4} b^{\frac {7}{2}} + 7 \, B a^{6} b^{\frac {5}{2}} - 2 \, A a^{5} b^{\frac {7}{2}}\right )}}{35 \, {\left ({\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} - a\right )}^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.73, size = 128, normalized size = 2.42 \begin {gather*} \frac {2\,A\,b^3\,\sqrt {b\,x^2+a}}{35\,a^2\,x}-\frac {8\,A\,b\,\sqrt {b\,x^2+a}}{35\,x^5}-\frac {B\,a\,\sqrt {b\,x^2+a}}{5\,x^5}-\frac {2\,B\,b\,\sqrt {b\,x^2+a}}{5\,x^3}-\frac {A\,b^2\,\sqrt {b\,x^2+a}}{35\,a\,x^3}-\frac {A\,a\,\sqrt {b\,x^2+a}}{7\,x^7}-\frac {B\,b^2\,\sqrt {b\,x^2+a}}{5\,a\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________